# 安装modelscope pip install modelscope

from modelscope import snapshot_download
model_dir = snapshot_download(model_id='Qwen/Qwen2.5-7B-Instruct',cache_dir='/Volumes/work/modelscope/Qwen/Qwen2.5-7B-Instruct')